<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>作业</title>
  <meta charset="UTF-8"/>
    <script type="text/javascript" src="t1.js"></script>
  <script type="text/javascript">
  	window.onload = function(){
	try{
			
		var res = fun(90,10);
		alert('计算结果：'+res);
		}
		catch(e){
			alert(e.message);
		}
		
		/*
		function person(name,sex,age){
			this.name=name;
			this.sex=sex;
			this.age=age;
			this.toString = '我的名字是：'+this.name;
		}
		var p = new person('luojuan','man',19);
		console.log(p.toString);
		*/
		/*	
		for  (var v in p){
			
			console.log(v);
		};
		*/
		/*
	var a =	new Object(a);
		a.b = 2;
		a.c = 90;
		for(var v in a){
			console.log(v);
				
		}
		delete(a.b);
		*/
		
		/*
		console.log('b' in  a);
		*/
	}
</script>
</head>
	<body>
		heelo world!
	</body>
</html>
